//
//  UIWindow+TYZAssociatePickerView.m
//  MetalEquipUnion
//
//  Created by tangbin on 2021/10/25.
//

#import "UIWindow+TYZAssociatePickerView.h"

@implementation UIWindow (TYZAssociatePickerView)

- (void)setAssociatePickerView:(TYZAssociatePickerView *)associatePickerView
{
    objc_setAssociatedObject(self, @selector(associatePickerView), associatePickerView, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

- (TYZAssociatePickerView *)associatePickerView
{
    return objc_getAssociatedObject(self, _cmd);
}

- (void)setAssociatePickerMaskView:(UIView *)associatePickerMaskView
{
    objc_setAssociatedObject(self, @selector(associatePickerMaskView), associatePickerMaskView, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

- (UIView *)associatePickerMaskView
{
    return objc_getAssociatedObject(self, _cmd);
}

@end
